package org.arnetminer.personalized.vo;

public class Subject {
	private String thumb;
	private String name;
	private long id;
	
	public Subject() {
		
	}
	
	public Subject(Object subject) {
		if (User.class.isInstance(subject)) {
			User user = (User) subject;
			this.thumb = user.getThumb();
			this.id = user.getId();
			this.name = user.getFirstName() + " " + user.getLastName();
		}
	}
	
	public String getThumb() {
		return thumb;
	}
	public void setThumb(String thumb) {
		this.thumb = thumb;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public long getId() {
		return id;
	}
	public void setId(long id) {
		this.id = id;
	}
	
}
